package com.yy.extend_;

/**
 * chapter08  com.yy.extend_
 * 2023-04-04 22:09
 *
 * @author yy yuyue
 * description : 不可描述
 * @date 2023/4/4 22:09
 */
public class Extends01 {
    public static void main(String[] args) {
        Pupil pupil = new Pupil();
        pupil.name = "银角大王";
        pupil.age = 10;
        pupil.testing();
        pupil.setScore(60);
        pupil.showInfo();

        System.out.println("=============");
        Graduate graduate = new Graduate();
        graduate.name = "金角大王";
        graduate.age = 22;
        graduate.testing();
        graduate.setScore(100);
        graduate.showInfo();

    }
}